package com.ruoyi.pg.pensionProject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.pg.pensionProject.domain.PgProject;
import com.ruoyi.pg.pensionProject.vo.PgProjectVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 养老项目Mapper接口
 *
 * @author Ming
 * @date 2025-09-03
 */
public interface PgProjectMapper extends BaseMapper<PgProject> {

    Page<PgProjectVo> queryList(Page<?> page, @Param("entity") PgProjectVo entity);

    List<PgProjectVo> queryList(@Param("entity") PgProjectVo entity);

    PgProjectVo queryById(@Param("id") Long id);

}
